package com.example.demo.customer;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.Collections;
import java.util.List;
//@Repository

public class CustomerRepository implements CustomerRepo{
    @Override
    public List<Customer> getCustomers() {
        return Collections.singletonList(
                new Customer(1L,"T10000，实现真实的数据库","password")
        );

    }
}
